import { CacheToken } from 'src/constants';
import * as cookie from './cookie';

export const getToken = () => {
  return cookie.getCookie(CacheToken);
};

export const setToken = (token: string) => {
  cookie.setCookie(CacheToken, token);
};

export const removeToken = () => {
  cookie.removeCookie(CacheToken);
};
